package com.keensense.vcm.model;

import com.keensense.vcm.model.enums.OrderEnum;
import com.keensense.vcm.model.enums.SortEnum;
import com.keensense.vcm.model.enums.StaticLibraryTypeEnum;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author lanjian
 * @date 2020/7/28
 */
@XmlRootElement(name = "request")
public class ListStaticLibrariesRequest {

    public ListStaticLibrariesRequest(Integer no, Integer size, SortEnum sort,String order) {
        this.no = no;
        this.size = size;
        this.sort = sort;
        this.order = order;
    }

    private Integer no;

    private Integer size;

    private SortEnum sort;

    private String order;

    private String name;

    private StaticLibraryTypeEnum type;

    private String tag;

    private String userId;

    @XmlElement
    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    @XmlElement
    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @XmlElement
    public SortEnum getSort() {
        return sort;
    }

    public void setSort(SortEnum sort) {
        this.sort = sort;
    }

    @XmlElement
    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    @XmlElement
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @XmlElement
    public StaticLibraryTypeEnum getType() {
        return type;
    }

    public void setType(StaticLibraryTypeEnum type) {
        this.type = type;
    }

    @XmlElement
    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @XmlElement
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

}
